runtime.timer.blocked (field)
7 uses
runtime (current package)
time.go#L33: blocked uint32 // number of goroutines blocked on timer's channel
time.go#L197: print("T ", t, " ", bits[0], bits[1], bits[2], bits[3], " b=", t.blocked, " ", op, "\n")
time.go#L585: need := t.state&timerHeaped == 0 && t.when > 0 && (!t.isChan || t.blocked > 0)
time.go#L1332: t.blocked++
time.go#L1365: if !t.isChan || t.blocked == 0 {
time.go#L1368: t.blocked--
time.go#L1369: if t.blocked == 0 && t.state&timerHeaped != 0 && t.state&timerZombie == 0 {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |